import request from '@/utils/request'
//banner
export function banner(data: any) {
    return request.get({ url: '/app.Index/banner' })
}
//获取爆款/最新/新手
export function listsAll() {
    return request.get({ url: '/theater.TheaterSketch/listsAll' })
}
export function searchSketch(data: any) {
    return request.post({ url: '/theater.TheaterSketch/lists', data }, { isAuth: true })
}
export function getArticleDetail(data: { id: number }) {
    return request.get({ url: '/app.Sketch/details', data: data })
}
export function shareTutorial(data?: any) {
    return request.post({ url: '/app.Sketch/shareTutorial', data }, { isAuth: true })
}
export function vedioUrl(data: any) {
    return request.get({ url: '/index/vedioUrl', data })
}